package com.gang.ssm.bos.system.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.gang.ssm.bos.system.bean.City;
import com.gang.ssm.bos.system.mapper.CityMapper;
import com.gang.ssm.bos.system.service.CityService;

@Service
public class CityServiceImpl implements CityService{
	
	@Autowired
	private CityMapper cityMapper;

	@Override
	public List<City> findAllByProvinceId(Integer provinceId) {
		return cityMapper.findAllByProvinceId(provinceId);
	}
}
